const BaseUrl = import.meta.env.VITE_APP_BASE_URL
export function useImage() {
  const baseImg = computed(() => {
    return (url: string) => {
      if (url && url.indexOf('http') != -1) return url
      return BaseUrl + url
    }
  })

  return {
    baseImg,
  }
}
